package com.ytrsoft.enums;


import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.v3.oas.annotations.media.Schema;

@Schema(description = "主题")
public enum Theme {

    @Schema(description = "赤焰明珠 - #FF5D5B")
    CRIMSON(),
    @Schema(description = "碧海蓝天 - #3487FF")
    AZURE(),
    @Schema(description = "翡翠之森 - #32DB98")
    EMERALD();

    @JsonCreator
    public static Theme enumCreator(String name) {
        return Theme.valueOf(name);
    }

}
